package com.hzjy.api.beans;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzjy.common.annotation.Excel;

/**
 * 挂牌成功资讯对象 hzjy_tradingnews
 * 
 * @author hzjy
 * @date 2020-08-25
 */
public class HzjyTradingnews
{
    private static final long serialVersionUID = 1L;

    /** 挂牌资讯ID */
    private Long id;

    /** 资讯标题 */
    @Excel(name = "资讯标题")
    private String title;

    /** 资讯内容 */
    @Excel(name = "资讯内容")
    private String content;

    /** 资讯推送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "资讯推送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /** 对应挂牌成功的作品 */
    @Excel(name = "对应挂牌成功的作品")
    private String productId;

    //图片
    private String img;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
